import request from '@/utils/request'

export function add(token,data){
  return request({
    url: 'thk/music/add',
    method: 'post',
    params: {token},
    data
  })
}

export function getList(token,data){
  return request({
    url: 'thk/music/get_list',
    method: 'post',
    params: {token},
    data
  })
}

export function info(token, data) {
  return request({
    url: 'thk/music/info',
    method: 'post',
    params: { token },
    data
  })
}

export function edit(token, data) {
  return request({
    url: 'thk/music/edit',
    method: 'post',
    params: { token },
    data
  })
}

export function del(token, data) {
  return request({
    url: 'thk/music/delete',
    method: 'post',
    params: { token },
    data
  })
}